<?php
$max=65;
echo substr($currentObject->lib,0,$max);
if (strlen($currentObject->lib)>$max) echo "...";